package org.lm.cloud.lmcode.controller;

import org.lm.cloud.lmcode.common.BaseResponse;
import org.lm.cloud.lmcode.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthTextController {

    @GetMapping("/")
    public BaseResponse<String> healthOk(){
        return ResultUtils.success("ok");
    }

}
